package com.hqyj.service;

import com.hqyj.pojo.TbActivity;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.pojo.TbComplaint;

import java.util.HashMap;

/**
 * <p>
 * 活动表 服务类
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
public interface TbActivityService {
    //新增
    HashMap<String, Object> add(TbActivity tbActivity);

    //修改
    HashMap<String, Object> update(TbActivity tbActivity);

    //删除
    HashMap<String, Object> del(Integer id);

    //查询
    HashMap<String, Object> list(TbActivity tbActivity);

    //通过活动标题查询小区活动
    HashMap<String, Object> tbActivityByTitle(String title);
}
